74a4645d85737921b72a38c97973bd714884063a,src/test/java/com/auth0/AuthAPITest.java,AuthAPITest,shouldAcceptDomainWithNoScheme,#,51

Before Change


    public void shouldAcceptDomainWithNoScheme() throws Exception {
        AuthAPI api = new AuthAPI("me.something.com", CLIENT_ID, CLIENT_SECRET);

        HttpUrl parsed = HttpUrl.parse(api.getBaseUrl());
        assertThat(parsed, is(notNullValue()));
        assertThat(parsed.host(), is("me.something.com"));
        assertThat(parsed.scheme(), is("https"));

After Change


    public void shouldAcceptDomainWithNoScheme() throws Exception {
        AuthAPI api = new AuthAPI("me.something.com", CLIENT_ID, CLIENT_SECRET);

        assertThat(api.getBaseUrl(), isUrl("https", "me.something.com"));
    }

    @Test